package StudyCode.summary.myfile;

import java.io.BufferedReader;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Paths;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ReadPathContent {
	public static void main(String[] args) {
		try (BufferedReader inputReader = Files.newBufferedReader(Paths.get("E:/迅雷下载/test1.txt"),
				Charset.defaultCharset())) {
			String inputLine;
			while ((inputLine = inputReader.readLine()) != null) {
				System.out.println(inputLine);
			}
		} catch (IOException ex) {
			ex.printStackTrace();
		}
	}
}
